Fix FTBFS on arm64
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Fri, 13 Feb 2026 14:01:49 +0000 (15:01 +0100)
committerSébastien Villemot <sebastien@debian.org>
Fri, 13 Feb 2026 14:01:49 +0000 (15:01 +0100)
Origin: upstream, https://github.com/OpenMathLib/OpenBLAS/commit/d2906e8787ccc50051505f97262027bae6b55258
Reviewed-by: Sébastien Villemot <sebastien@debian.org>
Last-Update: 2026-02-05

Last-Update: 2026-02-05
Gbp-Pq: Name ftbfs-serial-arm64.patch

interface/gemm.c

index 4b1c9a93ccd2bf7a4a50143f3e63fc82888e9bc8..60addbd2ca562dffaf377237a8df808fd209cdfe 100644 (file)
@@ -184,11 +184,11 @@ static int init_amxtile_permission() {
 }
 #endif
 
-#ifdef SMP
 #ifdef DYNAMIC_ARCH
 extern char* gotoblas_corename(void);
 #endif
 
+#ifdef SMP
 #if defined(DYNAMIC_ARCH) || defined(NEOVERSEV1)
 static inline int get_gemm_optimal_nthreads_neoversev1(double MNK, int ncpu) {
   return